@extends('home.mainlayout')
@section('css')
    <link rel="stylesheet" href="/Static/css/bootstrap.min.css">
    <link rel="stylesheet" href="/Static/css/font-awesome.min.css">
    <link rel="stylesheet" href="/Static/css/theme.css">
    <link rel="stylesheet" href="/Static/css/newcore.min.css?v=1.85">
    <link href="/Static/js/plugins/layer/skin/layer.css" rel="stylesheet" type="text/css"/>
    <link rel="stylesheet" type="text/css" href="/Static/css/pages/usercenter.min.css?v=1.85"/>
@endsection
@section('content')
<div id="biaoti">推广中心</div>
<div class="main">
    <ul class="nav nav-tabs " role="tablist">
        <li class=""><a href="/invite">邀请链接</a></li>
        <li class=""><a href="/invited">成功邀请</a></li>
        <li class=""><a href="/invitejl">邀请奖励</a></li>
        <li class="active"><a href="/tgorder">推广排行榜</a></li>
        <li class=""><a href="/group/">组团</a></li>
    </ul>
    <div class="tab-content">
        <div class="tab-pane active" style="margin-bottom: 20px;">
            <table class="table table-hover">
                <colgroup>
                    <col/>
                    <col style="width: 200px;"/>
                </colgroup>
                <thead>
                <tr>
                    <th>用户名</th>
                    <th>推荐人数</th>
                </tr>
                </thead>
                <tbody>
                @if(!empty($data['data']))
                    @foreach($data['data'] as $v)
                <tr>
                    <td>
                        @if($v['member_mobile'])
                        {{zxjStr($v['member_mobile'])}}
                        @else

                        @endif
                    </td>
                    <td>
                        {{$v['invite_num']}}
                    </td>
                </tr>
                    @endforeach
                @else
                {{'暂无数据...'}}
                @endif
                </tbody>
                <tfoot>

                </tfoot>
            </table>
            <p class="alert alert-info" style="margin-top:20px;">备注:当前仅列出排行榜前10</p>
        </div>
    </div>
</div>
@endsection